﻿using System.ComponentModel.DataAnnotations;

namespace CodeFinder.Web.Models {
    public class UserModel {
        [Required(AllowEmptyStrings = false)]
        [MinLength(5)]
        [MaxLength(20)]
        public string UserName { get; set; }
        [Required]
        public string Password { get; set; }
    }
}
